#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>
	using namespace std;
	int main()
	{
		char s[10];
		while (scanf("%s", s) != EOF)
		{
			if (s[0] >= 'a' && s[0] <= 'z')
			{
				s[0] -= 32;
			}
			cout << (char)s[0];
		}
		return 0;
	}